package com.atguigu.gmall.payment.service;

import com.alipay.api.AlipayApiException;

/**
 * @author Sanmier
 * @create 2020-12-21 18:59
 */
public interface AlipayService {

    //支付的接口
    String createaliPay(Long orderId) throws AlipayApiException;


    //退款
    boolean refund(Long orderId);


    //关闭交易
    Boolean closePay(Long orderId);


    //根据订单查询是否支付成功！
    Boolean checkPayment(Long orderId);
}
